<h1>Sign-Up</h1>
<div class="form">
  <%= error_messages_for :user %>
    <%= flash_notice %>
    
  <fieldset>
    <legend>Sign-up to start trading</legend>
    <% form_for :user, :url => { :action => "create"} do |form| %>
       <%= render :partial => 'form', :object => form  %>      
      
      <div>
        <%= form.label :password %>: <br/>
        <%= form.password_field :password, :class => "short" %>
      </div>
    
      <div>
        <%= form.label :password_confirmation %>: <br/>
        <%= form.password_field :password_confirmation, :class => "short" %>
      </div>
      
        <%= submit_tag "Submit"  %>
    
    <% end %>
  </fieldset>
</div>
